Release 10.1A: OpenEdge Development:
Progress 4GL Reference
GET-ATTRIBUTE( ) method
Returns the value of the specified attribute of an element referred to by an XML node reference.
Return type: LOGICAL Applies to: X-noderef object handle
nameThe attribute name whose value is desired. Attribute names are defined within the element tag. If using a DTD, you can define attributes with the "IMPLIED" property and those attributes will appear in the DOM structure.
If
hNoderefis an element node with various attributes, andanamesandbnameare character program variables, the following example demonstrates listing all the attributes of the node:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |